import Demo from "./demo";
import Btn from "./btn";

const components = [Demo, Btn]

const install = (Vue) => {
    if (install.installed) return;
    for (let component of components) {
        Vue.component(component.name, component);
    }
}

const Api = {
    install
}

export default Api
